<!DOCTYPE html>
<html>
  <head>
    <script type="text/javascript">
      function go() {
        document.getElementById('sel1').style.display = '';

        if (window.testRunner)
            testRunner.notifyDone();
      }

      function main() {
        if (window.testRunner)
            testRunner.waitUntilDone();
        setTimeout(go, 0);
      }
    </script>
  </head>
  <body onload="main();">
    <table border='1'>
      <tr>
        <td><select id="sel1" style="display: none;"><option label="test"></select></td>
      </tr>
    </table>

    <p>The select element in the table above must not spill outside of the table.</p>
  </body>
</html>
